function [CA] = contAnt(rowsFB)
    %Contact Anteriority (contAnt)
    % rowsFB means rows of sensors labeled from front (1) to back (8)
    % the value of rowsFB is the number of contacts activated (sum) for
    % each row within a single sample
    
    CA = log((1*(rowsFB(8,:)/8)+9*(rowsFB(7,:)/8)+81*(rowsFB(6,:)/8)...
        +729*(rowsFB(5,:)/8)+6561*(rowsFB(4,:)/8)+59049*(rowsFB(3,:)/8)...
        +531441*(rowsFB(2,:)/8)+3587227*(rowsFB(1,:)/6))+1)/log(4185098+1);
    
    
    
end